package com.njitzx.mapper;

import com.njitzx.entity.po.User;
import org.apache.ibatis.annotations.Select;

public interface LoginMapper {
    User getByUsername(String username);

    @Select("select * from sp_user where mobile=#{phone};")
    User getByPhone(String phone);
}
